package com.youdianda.service;



import com.youdianda.dto.AdvposListDTO;
import com.youdianda.dto.PosAllDTO;
import com.youdianda.dto.YddSelectDTO;
import com.youdianda.entity.YddAdvpos;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youdianda.result.PageResult;
import com.youdianda.result.Result;
import com.youdianda.vo.YddLinkListVO;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sdy
 * @since 2023-05-15
 */
@Service
public interface IYddAdvposService extends IService<YddAdvpos> {



     /**
      * 查询
      * @param id
      * @return
      */

     public Result<YddAdvpos> Selectpos(Integer id);
     /**
      * 修改
      *
      * @param yddAdvpos
      * @return
      */
     public Result update(YddAdvpos yddAdvpos);


     /**
      * 广告位列表-分页
      * @return
      */
     public Result<PageResult> listAdvpos(AdvposListDTO advposListDTO);




     /**
      * 删除
      * @param id
      * @return
      */
     public Result delete(Integer id);



     /**
      * 新增
      * @param dto
      * @return
      */
     public Result add(YddSelectDTO dto);


     /**
      * 广告列表 全部
      * @param
      * @return
      */
     public  Result getYddAdvPosAll();
}